//part1:C03:ex3.32.cpp -- copy an array.
#include <iostream>

int main(void)
{
    using namespace std;
    const int sz = 10;
    int a[sz], b[sz];
    for (int i = 0; i < sz; ++i)
    {
        a[i] = i;    
    }

    for (int j = 0; j < sz; j++) 
    {
        b[j] = a[j];
    }

    for (auto val : b) 
    {
        cout << val << " ";    
    }
    cout << endl;
    return 0;
}
